/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package boogie.designpatterns.state;

/**
 * Prima Stare
 * @author boogie
 */
public class FirstState extends AbstractState{

    public FirstState(StateMachineThingy stateMachineThingy) {
        super(stateMachineThingy);
    }
    
    @Override
    public void handleState() {
        System.out.println("state 1. onword and upword to state 2");
        this.stateMachineThingy.enterState("second");
    }
    
}
